// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CWeaponHurtType.h"
#include "BeHurtable.generated.h"

/**
 * this interface used for the actor that can be hurt,
 */
UINTERFACE()
class ISALONG2_API UBeHurtable : public UInterface
{
	GENERATED_UINTERFACE_BODY()
};

class ISALONG2_API IBeHurtable
{
	GENERATED_IINTERFACE_BODY()

public:

	virtual void OnHurt(AActor* shotter,FVector impactNormal,FVector hitLocation, int HurtType, float hurtValue,UPrimitiveComponent* hitComponent) {}

};
